package com.hqx.gulimall.product.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.hqx.common.utils.PageUtils;
import com.hqx.gulimall.product.entity.ProductAttrValueEntity;

import java.util.List;
import java.util.Map;

/**
 * spu属性值
 */
public interface ProductAttrValueService extends IService<ProductAttrValueEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveProductAttr(List<ProductAttrValueEntity> collect);

    List<ProductAttrValueEntity> getBaseAttrListForSpu(Long spuId);

    void updateBaseAttrForSpu(Long spuId, List<ProductAttrValueEntity> productAttrValueEntities);
}

